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?
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.
$ yum --enablerepo=centosplus --exclude=php-domxml install php* Setting up Install Process Setting up repositories Reading repository metadata in from local files Excluding Packages in global exclude list Finished Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package php-pear-Cache.noarch 0:1.5.5-0.1.RC4.el4.centos set to be updated ---> Package php-odbc.x86_64 0:5.1.6-3.el4s1.7 set to be updated ---> Package php-pear-Net-Curl.noarch 0:1.2.3-2.el4.centos set to be updated ---> Package php-mhash.x86_64 0:5.1.6-1.el4.centos set to be updated ---> Package php-dbase.x86_64 0:5.1.6-1.el4.centos set to be updated ---> Package php-mysql.x86_64 0:5.1.6-3.el4s1.7 set to be updated ---> Package php-gd.x86_64 0:5.1.6-3.el4s1.7 set to be updated ---> Package php-pear-XML-Beautifier.noarch 0:1.1-1.el4.centos set to be updated ---> Package php-mcrypt.x86_64 0:5.1.6-1.el4.centos set to be updated ---> Package php-pear-HTTP.noarch 0:1.4.0-7.el4.centos set to be updated ---> Package php-xml.x86_64 0:5.1.6-3.el4s1.7 set to be updated ---> Package php-pear-XML-Serializer.noarch 0:0.18.0-2.el4.centos set to be updated ---> Package php-pecl-apc.x86_64 0:3.0.12-1.el4.centos set to be updated ---> Package php-pear-Validate-Finance-CreditCard.noarch 0:0.5.2-1.el4.centos set to be updated ---> Package php-pear-Date.noarch 0:1.4.6-1.el4.centos set to be updated ---> Package php-pear-XML-Parser.noarch 0:1.2.7-4.el4.centos set to be updated ---> Package php-soap.x86_64 0:5.1.6-3.el4s1.7 set to be updated ---> Package php-pear-Net-Socket.noarch 0:1.0.6-5.el4.centos set to be updated ---> Package php-pear-XML-Util.noarch 0:1.1.1-1.el4.centos set to be updated ---> Package php-pgsql.x86_64 0:5.1.6-3.el4s1.7 set to be updated ---> Package php-pear-MDB2.noarch 0:2.2.2-2.el4.centos set to be updated ---> Package php-eaccelerator.x86_64 0:5.1.6_0.9.5-1.el4.centos set to be updated ---> Package php-pear-PHP-Compat.noarch 0:1.5.0-1.el4.centos.1 set to be updated ---> Package php-pear-HTTP-Request.noarch 0:1.4.0-1.el4.centos set to be updated ---> Package php-pecl-mailparse.x86_64 0:2.1.1-4.el4.centos set to be updated ---> Package php-pear-XML-RSS.noarch 0:0.9.10-2.el4.centos set to be updated ---> Package php-dba.x86_64 0:5.1.6-3.el4s1.7 set to be updated ---> Package php-common.x86_64 0:5.1.6-3.el4s1.7 set to be updated ---> Package php-ncurses.x86_64 0:5.1.6-3.el4s1.7 set to be updated ---> Package php-pear-HTML-Table.noarch 0:1.7.5-1.el4.centos set to be updated ---> Package php.x86_64 0:5.1.6-3.el4s1.7 set to be updated ---> Package php-pear-DB.noarch 0:1.7.6-6.el4.centos set to be updated ---> Package php-pear-Mail-Mime.noarch 0:1.3.1-8.el4.centos set to be updated ---> Package php-pear-Auth-SASL.noarch 0:1.0.2-4.el4.centos set to be updated ---> Package php-pear-Mail.noarch 0:1.1.14-1.el4.centos set to be updated ---> Package php-pear-PHPUnit.noarch 0:1.3.2-1.el4.centos.1 set to be updated ---> Package php-pear-Net-URL.noarch 0:1.0.14-1.el4.centos set to be updated ---> Package php-pear-Console-Table.noarch 0:1.0.5-2.el4.centos.1 set to be updated ---> Package php-pear-Net-DIME.noarch 0:0.3-1.el4.centos set to be updated ---> Package php-pear-Pager.noarch 0:2.4.2-1.el4.centos set to be updated ---> Package php-pdo.x86_64 0:5.1.6-3.el4s1.7 set to be updated ---> Package php-pear-Log.noarch 0:1.9.9-1.el4.centos set to be updated ---> Package php-bcmath.x86_64 0:5.1.6-3.el4s1.7 set to be updated ---> Package php-pear-Benchmark.noarch 0:1.2.6-1.el4.centos set to be updated ---> Package php-snmp.x86_64 0:5.1.6-3.el4s1.7 set to be updated ---> Package php-pear-Net-SMTP.noarch 0:1.2.8-5.el4.centos set to be updated ---> Package php-pear.noarch 1:1.4.11-1.el4s1.1 set to be updated ---> Package php-xmlrpc.x86_64 0:5.1.6-3.el4s1.7 set to be updated ---> Package php-pear-DB-QueryTool.noarch 0:1.0.3-1.el4.centos set to be updated ---> Package php-pear-PHPUnit2.noarch 0:2.3.6-1.el4.centos set to be updated ---> Package php-devel.x86_64 0:5.1.6-3.el4s1.7 set to be updated ---> Package php-mbstring.x86_64 0:5.1.6-3.el4s1.7 set to be updated ---> Package php-pear-Payment-Process.noarch 0:0.6.5-1.el4.centos set to be updated ---> Package php-pear-Net-FTP.noarch 0:1.3.2-1.el4.centos set to be updated ---> Package php-pear.x86_64 0:4.3.9-3.22.5 set to be updated ---> Package php-cli.x86_64 0:5.1.6-3.el4s1.7 set to be updated ---> Package php-readline.x86_64 0:5.1.6-1.el4.centos set to be updated ---> Package php-pear-Console-Getargs.noarch 0:1.3.3-1.el4.centos set to be updated ---> Package php-imap.x86_64 0:5.1.6-3.el4s1.7 set to be updated ---> Package php-pecl-zip.x86_64 0:1.8.0-1.el4.centos set to be updated ---> Package php-pear-Validate.noarch 0:0.6.4-1.el4.centos set to be updated ---> Package php-pear-Date-Holidays.noarch 0:0.16.1-1.el4.centos set to be updated ---> Package php-pear-HTML-Common.noarch 0:1.2.3-2.el4.centos set to be updated ---> Package php-pear-PHP-CompatInfo.noarch 0:1.4.0-1.el4.centos set to be updated ---> Package php-ldap.x86_64 0:5.1.6-3.el4s1.7 set to be updated ---> Package php-pear-Image-GraphViz.noarch 0:1.2.1-1.el4.centos set to be updated ---> Package php-tidy.x86_64 0:5.1.6-1.el4.centos set to be updated --> Running transaction check --> Processing Conflict: php-pecl-apc conflicts php-eaccelerator --> Processing Dependency: autoconf for package: php-devel --> Processing Dependency: libexslt.so.0()(64bit) for package: php-xml --> Processing Dependency: libmcrypt.so.4()(64bit) for package: php-mcrypt --> Processing Dependency: php-pecl(Xdebug) for package: php-pear-PHPUnit2 --> Processing Dependency: graphviz for package: php-pear-Image-GraphViz --> Processing Dependency: libmhash.so.2()(64bit) for package: php-mhash --> Processing Dependency: net-snmp for package: php-snmp --> Processing Dependency: libpq.so.4()(64bit) for package: php-pgsql --> Processing Dependency: libltdl.so.3()(64bit) for package: php-mcrypt --> Processing Dependency: libmysqlclient.so.15()(64bit) for package: php-mysql --> Processing Dependency: php = 4.3.9-3.22.5 for package: php-pear --> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: php-mysql --> Processing Dependency: automake for package: php-devel --> Processing Dependency: libnetsnmp.so.5()(64bit) for package: php-snmp --> Processing Dependency: libtidy-0.99.so.0()(64bit) for package: php-tidy --> Processing Dependency: libxslt.so.1()(64bit) for package: php-xml --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package libtidy.x86_64 0:0.99.0-9.20051025.el4.centos.3 set to be updated ---> Package postgresql-libs.x86_64 0:8.1.9-1.el4s1.1 set to be updated ---> Package net-snmp-libs.x86_64 0:5.1.2-11.EL4.10 set to be updated ---> Package libxslt.x86_64 0:1.1.11-1 set to be updated ---> Package libtool-libs.x86_64 0:1.5.6-4.EL4.1.c4.4 set to be updated ---> Package autoconf.noarch 0:2.59-5 set to be updated ---> Package automake.noarch 0:1.9.2-3 set to be updated ---> Package mysql.x86_64 0:5.0.27-1.el4.centos set to be updated ---> Package net-snmp.x86_64 0:5.1.2-11.EL4.10 set to be updated ---> Package libmcrypt.x86_64 0:2.5.7-4.el4.centos set to be updated ---> Package mhash.x86_64 0:0.9.2-4 set to be updated --> Running transaction check --> Processing Conflict: php-pecl-apc conflicts php-eaccelerator --> Processing Dependency: libgpg-error.so.0()(64bit) for package: libxslt --> Processing Dependency: php-pecl(Xdebug) for package: php-pear-PHPUnit2 --> Processing Dependency: libgcrypt.so.11()(64bit) for package: libxslt --> Processing Dependency: graphviz for package: php-pear-Image-GraphViz --> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14)(64bit) for package: mysql-server --> Processing Dependency: mysql = 4.1.20-2.RHEL4.1 for package: mysql-server --> Processing Dependency: libpq.so.3()(64bit) for package: dovecot --> Processing Dependency: libmysqlclient.so.14()(64bit) for package: mysql-server --> Processing Dependency: libmysqlclient_r.so.14()(64bit) for package: mysql-server --> Processing Dependency: php = 4.3.9-3.22.5 for package: php-pear --> Processing Dependency: mysql = 4.1.20-2.RHEL4.1 for package: mysql-devel --> Processing Dependency: libmysqlclient.so.14()(64bit) for package: perl-DBD-MySQL --> Processing Dependency: libmysqlclient_r.so.14(libmysqlclient_14)(64bit) for package: mysql-server --> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14)(64bit) for package: dovecot --> Processing Dependency: libmysqlclient.so.14()(64bit) for package: dovecot --> Processing Dependency: m4 for package: autoconf --> Processing Dependency: libsensors.so.3()(64bit) for package: net-snmp --> Processing Dependency: libgcrypt.so.11(GCRYPT_1.2)(64bit) for package: libxslt --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package mysqlclient14.x86_64 0:4.1.22-1.el4s1.1 set to be updated ---> Package postgresqlclient7.x86_64 0:7.4.14-1.el4s1.1.el4.centos set to be updated ---> Package mysql-server.x86_64 0:5.0.27-1.el4.centos set to be updated ---> Package m4.x86_64 0:1.4.1-16 set to be updated ---> Package lm_sensors.x86_64 0:2.8.7-2.40.3 set to be updated ---> Package libgcrypt.x86_64 0:1.2.0-3 set to be updated ---> Package mysql-devel.x86_64 0:5.0.27-1.el4.centos set to be updated ---> Package perl-DBD-MySQL.x86_64 0:3.0008-1.el4.centos set to be updated ---> Package libgpg-error.x86_64 0:1.0-1 set to be updated --> Running transaction check --> Processing Conflict: php-pecl-apc conflicts php-eaccelerator --> Processing Dependency: php-pecl(Xdebug) for package: php-pear-PHPUnit2 --> Processing Dependency: graphviz for package: php-pear-Image-GraphViz --> Processing Dependency: perl(:MODULE_COMPAT_5.8.8) for package: perl-DBD-MySQL --> Processing Dependency: php = 4.3.9-3.22.5 for package: php-pear --> Processing Dependency: kernel-utils for package: lm_sensors --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package kernel-utils.x86_64 1:2.4-13.1.99 set to be updated ---> Package perl.x86_64 4:5.8.8-4.el4s1 set to be updated --> Running transaction check --> Processing Conflict: php-pecl-apc conflicts php-eaccelerator --> Processing Dependency: graphviz for package: php-pear-Image-GraphViz --> Processing Dependency: php = 4.3.9-3.22.5 for package: php-pear --> Processing Dependency: php-pecl(Xdebug) for package: php-pear-PHPUnit2 --> Finished Dependency Resolution Error: php-pecl-apc conflicts with php-eaccelerator Error: Missing Dependency: php-pecl(Xdebug) is needed by package php-pear-PHPUnit2 Error: Missing Dependency: graphviz is needed by package php-pear-Image-GraphViz Error: Missing Dependency: php = 4.3.9-3.22.5 is needed by package php-pear
1. GD libraryNot installed The GD library for PHP is missing or outdated. Please check the PHP image documentation for information on how to correct this.
2. Unicode libraryStandard PHP Operations on Unicode strings are emulated on a best-effort basis. Install the PHP mbstring extension for improved Unicode support.
I have on my server:
Package gd-2.0.33-9.4.el5_1.1.x86_64 already installed and latest version Package gd-2.0.33-9.4.el5_1.1.i386 already installed and latest version
but i don`t know why drupal say to me it`s not installed. Need to active the GD Library?
How can i fix the problem with php mbstring and GD Library?
A friend of mine owns a hosting company and a client of his asked to have mbstring and mysqli installed. What he wants to know is , is there any security risks if he does install that on his server?
Also, he wants to know, if there is not, what how does he go about installing that on the server?
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.
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.
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 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.
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?
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
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.
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.
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!
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 ?
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