PHP5 For 1 Account
May 8, 2007
I'm running cPanel hosting on Centos VPS, apache was last built with PHP 4.4.2. Now I have a client who wants to install mediawiki which requires php5. I don't want to recompile Apache with php5 because I don't know how this could affect my other customers.
Is it possible to run php5 for on a "per account" basis while keeping php4 as the default for the server ?
View 7 Replies
ADVERTISEMENT
Jan 1, 2009
I have just installed PHP5 into my IIS server and want to install projectpier
1st problem: When I go to [url]I get the errorThis Virtual Directory does not allow contents to be listed.
There is an index.php in there but doesn't load even though I have specified it as a default content page in the website..
2nd problem: After I manually browse to the install page I get the following errors:
#Error: /config/config.php is not writable
# Error: /public/files is not writable
# Error: /cache is not writable
# Error: /upload is not writable
I have realised that permissions are not setup right so I went and gave cart blanche access to the folder for any user..it worked but is far from secure.What is the best way to do this?
When installing web applications like this are they usually done from the servers browser where the server is the only one with full access.I tried this and it didn't work.
View 3 Replies
View Related
Jan 20, 2008
Running ubuntu server 6 if I apt-get php5 the version I get is 5.1.2.
Now the latest version on the php.net site is 5.2.5.
Does it really make much of a difference if I'm slightly below current? What are your thoughts please?
I know if I go compiling from source php and mysql are difficult to get working together which is why I like the apt-get method.
View 1 Replies
View Related
Jul 27, 2008
We have a client which site requires PHP4, not PHP5 to run. Can we run both PHP versions alongside each other? Apparently, their site will only work in PHP4. We are running Plesk 8.3.0 for Linux.
View 8 Replies
View Related
Apr 12, 2008
I have PHP 5.2.5 compiled with GD library working on my webserver,
yesterday i wanted to add Curl Support, so i had to recompile php.
I downloaded and installed Curl latest version and tried to recompile PHP :
'./configure'
'--prefix=/usr/local/php'
'--enable-discard-path'
'--disable-force-cgi-redirect'
'--enable-shared'
'--disable-static'
'--disable-debug'
'--disable-rpath'
'--enable-pic'
'--enable-inline-optimization'
'--enable-memory-limit'
'--with-gd'
'--with-png-dir'
'--with-jpeg-dir'
'--with-config-file-path=/etc'
'--with-config-file-scan-dir=/etc/php'
'--with-pear=/usr/share/pear'
'--enable-magic-quotes'
'--enable-debugger'
'--enable-track-vars'
'--with-exec-dir=/usr/bin'
'--with-versioning'
'--with-mod_charset'
'--with-regex=php'
'--enable-track-vars'
'--enable-trans-sid'
'--enable-safe-mode'
'--enable-ctype'
'--enable-ftp'
'--with-gettext=/usr'
'--enable-posix'
'--enable-session'
'--enable-sysvsem'
'--enable-sysvshm'
'--with-openssl=/usr'
'--without-kerberos'
'--with-freetype-dir=/usr'
'--with-zlib=/usr'
'--with-zlib=/usr'
'--with-zlib-dir=/usr'
'--with-zlib-dir'
'--enable-xslt'
'--with-xslt-sablot'
'--with-iconv-dir=/usr/local/lib'
'--with-mysql-sock=/var/lib/mysql/mysql.sock'
'--with-mysql'
'--enable-mbstring=all'
'--enable-fastcgi'
'--enable-discard-path'
'--enable-force-cgi-redirect'
'--with-curl=/usr/local/curl'
I can't get it working, this is the error i get :
..
checking for T1lib support... no
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
If configure fails try --with-jpeg-dir=<DIR>
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
If configure fails try --with-freetype-dir=<DIR>
configure: error: GD build test failed. Please check the config.log for
details.
I think i'm not the only one who is experiencing this problem, take a look here:
[url]
Why do PHP.net don't give much importance to this BUG?
I'm using the same OS : Centos 5
View 4 Replies
View Related
Mar 27, 2008
I recently installed ubuntu 7.10, and apache2. Both installed with no problems. In my browser i am able to type localhost, and i recieve the "It works" page. I can also start,stop and restart with no problems. However, I cannot install php5. I use synaptic package manager to install, and i added the appropriate lines to the httpd.conf file but i still cannot view .php files. I try to run a simple php page and a dialog box pops up prompting me to open or save the file. If i choose either, the box just pops up again.
View 15 Replies
View Related
Jan 31, 2008
I compiled php5 from source, i'm running php5+lighttpd using fastcgi..
i want to uninstall php5 and install php4, i tried this :
[root@srvxx php-5.2.5]# make uninstall
make: *** No rule to make target `uninstall'. Stop.
anyone knows how to uninstall PHP5?
View 5 Replies
View Related
Mar 31, 2008
i have a server run with phpsuexec and php4 default,
i want to let certain account run with php5,
it looks likely i can add a php.ini in the account,
View 2 Replies
View Related
Jan 27, 2007
I'm trying to keep up with things by developing for PHP5. My current host still uses PHP 4.4.1, which is a pain. Can someone advise me if I should change host to someone who uses PHP5. I would rather have shared hosting due to budget. If so, who should I use? Otherwise, can someone point me in the direction of a resource that describes how to develop for PHP5 while retaining backward compatibility for PHP4.x so I can write code targeted primarily at PHP5, but also works on PHP4.x?
View 6 Replies
View Related
Aug 22, 2007
I have a slight problem I can manage most of the features on a VPS server, but I want to upgrade php4 to php5 on the server.
Problem is I have no idea where to start, Im using plesk control panel using WebFusion hosting.
Does anyone have any idea, articles etc. I have had a look online but come up with nothing that simply walks me through what I have to do.
View 10 Replies
View Related
Jan 26, 2007
i am getting Internal Server Error while accessing php5 pages.
cat .htaccess
AddHandler application/x-httpd-php5 .php
Premature end of script headers: /usr/local/cpanel/cgi-sys/php5
View 7 Replies
View Related
Jul 7, 2007
I've already managed to pick two web hosts for my business that probably won't do the job, so I'm looking for some advice. Primarily we need PHP 5 (with cURL), MySQL 5, easy to implement SSL and some kind of e-mail. I wouldn't imagine using more than 1gb monthly data transfer or needing more than about 20mb of storage.
The database design and all the code was custom written by me and a friend. We are not interested in overly-fluffy GUI's - we like power tools without the finger guards. We'd also like to have good logs of errors, accesses, etc.
Finally, I'm not interested in saving $10 a month to get an overloaded server that goes down now and then. Web host rates are pretty much trivial in comparison with the cost of downtime for this site.
View 21 Replies
View Related
Mar 13, 2007
I have installed PHP 5.2.1 (with this guide) working along side PHP 4.4.6, but I am trying to install mailparse into PHP5 and have not had much luck at it.
I think it maybe installing it for PHP 4 and not PHP5 as it seems to be the same date all the time: 20020429 and I believe it should be 2004 or newer from what I have read on Auracle Support Forum.
I have tried:
Code:
/bin/mount /tmp -o remount,exec
pecl install mailparse
pico /usr/local/Zend2/etc/php.ini
Added: extension=mailparse.so to the php.ini of PHP5
service httpd restart
/bin/mount /tmp -o remount,noexec
I have also tried installing from the tar file I wget with the following commands
Code:
cd /home/src/mailparse-2.1.1
/usr/local/php5/bin/phpize5
./configure
make
make install
Then I believe I did
Code:
pico /usr/local/Zend2/etc/php.ini
Changed: extension_dir to /usr/local/php5/lib/php/extensions/
cp /usr/local/lib/php/extensions/no-debug-non-zts-20020429/mailparse.so /usr/local/php5/lib/php/extensions/
But it still does not work
View 0 Replies
View Related
May 13, 2007
We have a server runing both php4 + php5 and had someone set it up that way when we got the server. but now i cant find who did it for us. And would like to hear how to do it. Im not the best with this kind of stuff and thats why i hire someone to do it lasttime
I been reading on cpanel.net but nothing is up to date!
View 3 Replies
View Related
Oct 8, 2007
how do i install php5 on my linux vps centos OS i want to do that installing because right now using php4 and i want to upgrade to php5 and mySql 5 to my vps. i'm on self managed/unmanage server
View 10 Replies
View Related
Jul 24, 2009
Is there any difference in performance if you upgrade from php4 to php5? Or can it reduce the average server load?
View 12 Replies
View Related
Apr 21, 2009
I have installed PHP5 in my windows server (IIS6).But when I check with phpinfo() its not showing mysql extension or any details.
I have enabled the mysql extension in php.ini
View 1 Replies
View Related
May 24, 2008
is mysql5 required for php5? I currently have php4&5 installed with mysql4
If I install mysql5 is it backwards compatible?
Are there any known issues with mysql5 on a server like performance issues? I'm not looking to have scripts recode at this point in time.
View 3 Replies
View Related
Jul 21, 2009
I keep seeing instructions on installing using apt-get install php5-gd to install it, but when I do that my server says unknown command....
View 4 Replies
View Related
May 4, 2008
I have a client who is currently running their own linux machine and has php4 installed (mad I know ) Anyways, I have been asked to make some scripts for them, however I am wanting to use php5 rather than php4 as that is what I am accustomed to not to mention it's still got support for it. Does anyone know of any good online resources on how to upgrade to php5? or better still, how to install php5 and run both 4 and 5 on the same server (using Apache)
View 5 Replies
View Related
Jan 17, 2008
I'm using Apache2, MySQL5, and PHP5 with CentOS4.6, cPanel 11.
When recompile Apache2 and PHP5 from WHM, there are no options for mbstring, so now my PHP5 doesn't has mbstring.
I tried to install mbstring as below, but I got this message:
Quote:
root@mybox [~]# yum install php-mbstring
Setting up Install Process
Setting up repositories
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
No Match for argument: php-mbstring
Nothing to do
I also tried:
Quote:
up2date -i php-mbstring
Are there other ways to install mbstring for PHP5?
View 8 Replies
View Related
Feb 5, 2008
we've been installing a web-app on a domain controller at work. Previously the app ran on WAMP but the new server has to run IIS, though PHP and MySQL is acceptable for now.
We've jumped through hoops to get it working as well as it is now, but we've hit a few snags which seem common, but none of the solutions work for us.
We were having problems where the MySQL extensions for PHP could not be loaded because of access rights. When we look at a phpinfo() output the MySQL information is completely missing. This happens with any user set in the application pool with the exception of Administrator. When we make that user the one that runs that application pool then the MySQL extensions load fine and the whole system works perfectly. Even if we change it to another admin user the system still won't work.
View 8 Replies
View Related
Jul 29, 2008
I'm trying to compile PHP with curl enabled but I cannot get it work.
Here is the part of config.log
....
configure:32740: checking whether to enable calendar conversion support
configure:32778: result: no
configure:33078: checking whether to enable ctype functions
configure:33116: result: yes
configure:33416: checking for cURL support
configure:33455: result: yes
configure:33464: checking if we should use cURL for url streams
configure:33482: result: no
configure:33492: checking for cURL in default path
configure:33497: result: found in /usr
configure:33515: checking for cURL 7.10.5 or greater
configure:33529: result: libcurl 7.15.5
configure:33538: checking for SSL support in libcurl
configure:33542: result: yes
configure:33560: checking how to run the C preprocessor
configure:33678: result: gcc -E
configure:33702: gcc -E conftest.c
configure:33708: $? = 0
configure:33740: gcc -E conftest.c
conftest.c:201:28: error: ac_nonexistent.h: No such file or directory
configure:33746: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
...
As you can see it shows "ac_nonexistent.h: No such file or directory" I installed both gcc and gcc-c++ libraries but it doesn't work.
PHP version is 5.2.6 and OS is CentOS 5 64bit
View 7 Replies
View Related
Jan 25, 2007
going to order Dedicated server .
need php5 , preferred control panel DA.
unfortunately i was told by one hoster, that they don't install php5 on DA, as they don't work properly.
and give me link to [url]
is it true ? regarding directadmin' forum some threads they work perfectly, but as i don't have experience, i don't know what to do?
and one thing else, which OS do u suggest to use? Centos? fedora or Debian?
View 2 Replies
View Related
May 5, 2008
i have just got a virtuzzo vps it have 512 mb ram, its comes with, centos 4.4, plesk 8.2
php 4.4, apache 2.05, so i want to upgrade, to, php5, apache 2.57
View 2 Replies
View Related
Nov 5, 2007
I would like upgrading to apache2.X and PHP5.x I have some question about that, can I find details how can I make upgrade without any problem, in cpanel (aptche upgrade ) what modules can I check it befor upgrading I don't know what need to check ?? is my sites working well without problem after upgrading?
View 8 Replies
View Related
Oct 25, 2007
in latest cPanel, there is option to compile both php4 & php5. by default .php page will be parsed by php5 and .php4 will be parsed by php4 engine.
but i want to reverse the method. by default .php should be parsed by php4 engine and .phpx or .php5 should be parsed by php5 engine.
how can I do this?
can't i install apache 2x while using both php4 & php5. cPanel did not recommend apache 2x with php4.
View 6 Replies
View Related
Apr 25, 2007
I have an application that runs on PHP4 but the server I have has PHP5.
The server has the following packages:
php-mbstring-5.0.4-10.5
php-5.0.4-10.5
php-mysql-5.0.4-10.5
php-gd-5.0.4-10.5
php-pear-5.0.4-10.5
php-ldap-5.0.4-10.5
I need to downgrade to the following packages so I can use the application:
php-mbstring-4.3.11-2.8
php-ldap-4.3.11-2.8
php-pear-4.3.11-2.8
php-gd-4.3.11-2.8
php-4.3.11-2.8
php-mysql-4.3.11-2.8
The papplication is not available for PHP5.
When I start uninstalling packages is giving the following errors:
[root@localhost ~]# rpm -e php-5.0.4-10.5
error: Failed dependencies:
php >= 4.0.4 is needed by (installed) squirrelmail-1.4.7-4.fc4.noarch
php = 5.0.4-10.5 is needed by (installed) php-pear-5.0.4-10.5.i386
php = 5.0.4-10.5 is needed by (installed) php-mysql-5.0.4-10.5.i386
php = 5.0.4-10.5 is needed by (installed) php-mbstring-5.0.4-10.5.i386
What will be the best way to downgrade these packages?
View 2 Replies
View Related
Nov 6, 2007
Is this possible? It seems that yum wants to also upgrade to mysql 5 if I want to upgrade php to 5. I'm having a hard time finding any info about it online.
View 4 Replies
View Related
Jan 25, 2007
My friend has a problem with his php5 script and he needs php5 standalone hosting server. Anyone can suggest a good provider?
View 2 Replies
View Related