2mhost.com

Active Member
Sep 4, 2001
36
0
306
In the past, I was editing

/home/cpapachebuild/buildapache/buildscript


to add some PHP modules like PDO-MySQL and run it to do fast apache recompliation .. but with the new easy apache I do see a file like that, I see the configuration saved in:


/home/cpeasyapache/src/php-5.2.4/scripts/php-config



but this overwritted I run easyapache .. how I can make the easyapache just take the PHP configuration from this file and not write on it?
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
In the past, I was editing

/home/cpapachebuild/buildapache/buildscript


to add some PHP modules like PDO-MySQL and run it to do fast apache recompliation .. but with the new easy apache I do see a file like that, I see the configuration saved in:


/home/cpeasyapache/src/php-5.2.4/scripts/php-config



but this overwritted I run easyapache .. how I can make the easyapache just take the PHP configuration from this file and not write on it?
Why not use EA to load the PDO module and the other modules you need? Then edit the appropriate php.ini (manually or via WHM) to set the settings you need?
 

2mhost.com

Active Member
Sep 4, 2001
36
0
306
With EA, you can only install PDO with SQLite .. I just want to add --with-pdo-mysql and such things to recompile php and apache while keeping everything else intact.


so after running EA, I get installation like this:

http://74.86.153.131/~rvadmin/info.php

where I can add '--with-pdo' '--with-pdo-mysql' to the configuration command and keep all other installations intact?
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
With EA, you can only install PDO with SQLite .. I just want to add --with-pdo-mysql and such things to recompile php and apache while keeping everything else intact.


so after running EA, I get installation like this:

http://74.86.153.131/~rvadmin/info.php

where I can add '--with-pdo' '--with-pdo-mysql' to the configuration command and keep all other installations intact?
Here's some documentation to assist you with defining custom configuration options:

http://www.cpanel.net/support/docs/easyapache.htm

Note, if you are on STABLE, this does not yet apply to you as this documentation is for EA3, not EA1. EA3 has not yet propagated to STABLE.