hammerfall

Member
Aug 2, 2006
7
0
151
help

enable mbstring

my phpinfo


Configure Command './configure' '--prefix=/usr' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-mcrypt' '--enable-magic-quotes' '--with-mysqli' '--with-mysql=/usr' '--enable-discard-path' '--with-pear' '--enable-sockets' '--enable-track-vars' '--with-zlib'

like active it ???


:(
 

hammerfall

Member
Aug 2, 2006
7
0
151
dalem said:
recompile apache with it
using /scripts/easyapache or in WHM build apache


/// /scripts/easyapache /////////

1) Beginner without phpsuexec(suphp) + webroot protection support (**** DEFAULT **)
2) Beginner with phpsuexec(suphp) support + web root protection
3) Beginner with/php mcrypt support (if php will not compile, you must choose option 1)
4) Beginner with/php gd+freetype support (if php will not compile, you must choose option 1)
5) Beginner with/php gd+freetype+mcrypt support (if php will not compile, you must choose option 1)
6) Advanced (Experts Only, At Your Own Risk)
7) Advanced [Load Previous Config] (Experts Only, At Your Own Risk)
8) Failsafe mode (Resets apache config to default, USE ONLY AS A LAST RESORT)
9) Rebuild Using Current Config

///////////

9)Rebuild Using Current Config ????

thanks
 

hammerfall

Member
Aug 2, 2006
7
0
151
hammerfall said:
/// /scripts/easyapache /////////

1) Beginner without phpsuexec(suphp) + webroot protection support (**** DEFAULT **)
2) Beginner with phpsuexec(suphp) support + web root protection
3) Beginner with/php mcrypt support (if php will not compile, you must choose option 1)
4) Beginner with/php gd+freetype support (if php will not compile, you must choose option 1)
5) Beginner with/php gd+freetype+mcrypt support (if php will not compile, you must choose option 1)
6) Advanced (Experts Only, At Your Own Risk)
7) Advanced [Load Previous Config] (Experts Only, At Your Own Risk)
8) Failsafe mode (Resets apache config to default, USE ONLY AS A LAST RESORT)
9) Rebuild Using Current Config

///////////

9)Rebuild Using Current Config ????

thanks


option 6













**** Done building apache 1, starting post run tasks **

Cleaning up build directories...
Done


Done!
Error: postcheck() returned a failed status
Restoring previously working apache
Done!




httpd () failed :confused:
 

hammerfall

Member
Aug 2, 2006
7
0
151
Attempting to restart httpd
Waiting for httpd to restart.... . . . . . . . . . . finished.

httpd statusroot 15735 0.0 0.0 5888 1292 pts/0 T 19:16 0:00 vi /usr/local/apache/conf/httpd.conf
root 12479 1.0 0.9 21432 20080 ? S 19:40 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd



httpd has failed, please contact the sysadmin.





help!!!!!:confused: :confused:




[email protected] [~]# /etc/init.d/httpd start
/etc/init.d/httpd: line 89: /usr/local/apache/bin/httpd: No such file or directory
/etc/init.d/httpd start: httpd could not be started
 

kistler

Well-Known Member
Jan 27, 2005
136
1
166
pm me only if you need additional help hammerfall

also try running "/usr/local/apache/bin/apachectl configtest" see what you get, also you should have used option #7
 
Last edited:

Spiral

BANNED
Jun 24, 2005
2,020
8
193
Or even easier than EasyApache, just download PHP and compile it yourself ....

You can use the config line you quoted in your previous post to configure the PHP again
and make whatever modifications you need to that configure line.

./configure <whatever> (from your config line in phpinfo)

make

make test

make install

The source is downloadable from www.php.net