Cand find the folder /etc/php.d

dan2

Verified User
Joined
Oct 22, 2007
Messages
12
Hi

I just installed centos 5.0 with directadmin.
with MySQL client version: 5.0.45

im trying to install eAccelerator Into PHP5

They tell me to install a file in etc/php.d

but a cant find this folder anwhere etc/php.d

would it be because directadmin installed the folder php.d somwhere else


do any of you guys know where it would be , i check through most of the folders on the server and cant find it anywhere

:)


thanks
 
Hi

I just installed centos 5.0 with directadmin.
with MySQL client version: 5.0.45

im trying to install eAccelerator Into PHP5

They tell me to install a file in etc/php.d

but a cant find this folder anwhere etc/php.d

would it be because directadmin installed the folder php.d somwhere else


do any of you guys know where it would be , i check through most of the folders on the server and cant find it anywhere

:)


thanks



  
  if /etc/php.d exist,need to copy eaccelerator.ini in it,or else you need change php.ini,add the following contents before '[zend]':  
Code:
  [eaccelerator]
  extension="/data/webserver/php/lib/php/extensions/no-debug-zts-20060613/eaccelerator.so"
  eaccelerator.shm_size="32"
  eaccelerator.cache_dir="/data/cache/eaccelerator"
  eaccelerator.enable="1"
  eaccelerator.optimizer="1"
  eaccelerator.check_mtime="1"
  eaccelerator.debug="0"
  eaccelerator.filter=""
  eaccelerator.shm_max="0"
  eaccelerator.shm_ttl="0"
  eaccelerator.shm_prune_period="0"
  eaccelerator.shm_only="0"
  eaccelerator.compress="1"
  eaccelerator.compress_level="9"
  

  # mkdir -p /data/cache/eaccelerator
  # chmod 0777 /data/cache/eaccelerator
  

  # service httpd restart
 
Back
Top