Installing EAccelerator

Jun 22, 2009

I successfully installed eAccelerator and its already working fine then I decided to update my PHP version which is 5.1.6 to 5.2.6 after the upgrade eAccelerator is no longer loaded I tried recompiling eAccelerator but to no avail it doesnt load anymore I double checked eaccelerator.ini and it was already set. Someone said that the phpize that was installed in my server is not compatible to PHP5.2.6 and it needs to be updated also but I cant seem to update it since it always says that it is already updated.

I am using CentOS5.3.



ADVERTISEMENT

Eaccelerator Eaccelerator.shm_ttl

Apr 30, 2008

Does anyone have a recommendation for the eaccelerator eaccelerator.shm_ttl setting? If it was left at the default of "0", this means no newer scripts would ever be cached once the memory is full. Or would it do additional caching on disk as well and not show up in the phpino.php file?

We have alloted 32 Megs of Ram for eA. Maybe something like this would help move some old scripts out of the cache?

eaccelerator.shm_ttl="86400"
eaccelerator.shm_prune_period="0"

View 0 Replies View Related

Eaccelerator

Apr 14, 2008

When eAccelerator doesn't have enough free shared memory to cache a new script it will remove all scripts from shared memory cache that haven't been accessed in at least shm_ttl seconds. By default this value is set to "0" which means that eAccelerator won't try to remove any old scripts from shared memory.

Does that mean that once the shared memory is full, that even if a script that is in shared memory hasn't been accessed in 5 months, any new scripts will have to be ran off of the compiled versions on disk instead of being read out of the much-faster RAM?

View 3 Replies View Related

EAccelerator

Feb 4, 2007

i installed eAccelerator, everything look good, exept i have a problem with Wifidog-auth server that i have installed, it gives me errors that it cant connect to database.... but not all the times, could eaccelarator be doing this? it was fine before i installed EA

Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to database on localhost' in /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/AbstractDb.php:96 Stack trace: #0 /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/AbstractDb.php(321): AbstractDb->connect(NULL) #1 /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/Server.php(227): AbstractDb->execSqlUniqueRes('SELECT server_i...', NULL, false, true) #2 /home/lavals/public_html/auth1/wifidog-auth/wifidog/include/common.php(107): Server::getCurrentServer(true) #3 /home/lavals/public_html/auth1/wifidog-auth/wifidog/hotspot_status.php(53): require_once('/home/lavals/pu...') #4 {main} thrown in /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/AbstractDb.php on line 96

View 4 Replies View Related

EAccelerator And PHP 5.2.5

Nov 12, 2007

It seems that eAccelerator 0.9.5.2 is incompatible with the latest PHP 5.2.5.

Any else can confirm this?

View 3 Replies View Related

SuPHP Or EAccelerator

Jul 22, 2009

I have a Linux server for shared hosting in which I am using Cpanel/WHM. I have PHP running as suPHP which I believe is for security. The problem I am facing is a lot of PHP based websites create load on the server and consume as much as 10% of the CPU and sometimes some script even consumes 50% CPU. I think I can reduce the load caused by the PHP scripts by installing eAccelerator. However, it does not work with PHP running as suPHP. Can anybody tell me which one should I choose of the both? Is there any other way to reduce the load on the server?

View 14 Replies View Related

APC Vs EAccelerator Vs XCache

Mar 30, 2009

if anyone has run any tests or if there is a way to tell one of the other. I would like benchmark test them, just not sure how.

View 2 Replies View Related

Install EAccelerator

Jun 6, 2008

I've got a CentOS 5.0 machine running PHP 4 & 5 in FastCGI mode with suPHP.

I've read the instructions to install eAccelerator at: InstallFromSource - eAccelerator - Trac

However there is a line at the beginning that says it is safe to follow those directions if you have ONE php install.

I have php5 as default and php4 optional. Does this count as 1 or 2 installs?

View 8 Replies View Related

Xcache Or Eaccelerator?

Jul 21, 2008

What do you think is better Xcache or eAccelerator and why?

I can see that xcache is a little bit faster but what is better to use?

View 4 Replies View Related

Xcache Or Eaccelerator

Mar 27, 2008

I have a server and I have several proxies on it together with some of my websites.
The thing is sometime it will overload.

I was thinking to install xcache or eaccelerator.

which should I install? Which is better?

View 7 Replies View Related

EAccelerator FC2 Install

Nov 6, 2007

running php5 on FC2 server and wish to install eAccelerator, if i do 'yum info eaccelerator' it shows following as available.

Quote:

Looking in Available Packages:

Name : php-eaccelerator
Arch : i386
Version: 4.3.11_0.9.3
Release: 4.1.fc2.rf
Size : 231.11 kB
Group : Development/Languages
Repo : Dag RPM Repository for Fedora Core 2

This seems out of date?

Is this correct package or should be looking for another one?

View 1 Replies View Related

Eaccelerator Crashing

Feb 22, 2007

After upgrading to php 4.4.5 from 4.4.4 I am getting this error in modern bill

[23126] EACCELERATOR: PHP crashed on opline 245 of session_register() at /home/user/public_html/modernbill/include/functions.inc.php:99

Anyone face this issue before? I've always used both EA and MB.

[eAccelerator]
zend_extension="/usr/lib/php/eaccelerator/eaccelerator.so"
eaccelerator.shm_size="4096"
eaccelerator.cache_dir="/tmp/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="3"
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="1"
eaccelerator.keys="shm_and_disk"
eaccelerator.sessions="shm_and_disk"
eaccelerator.content="shm_and_disk"

[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.2.2
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.2.2
zend_optimizer.version=3.2.2

zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

.htaccess file:

<Files .htaccess>
order allow,deny
deny from all
</Files>

DirectoryIndex index.php
Options -Indexes

php_value "magic_quotes_gpc" "1"
php_value "register_globals" "1"
php_value "error_reporting" "2039"

View 6 Replies View Related

How To Remove EAccelerator

Dec 8, 2007

How to remove eAccelerator, I updated my apache and there I got the option to install it ,and I installed it

View 7 Replies View Related

EAccelerator Error

Apr 5, 2007

Everything was working fine until I upgraded from PHP 5.2.0 to PHP 5.2.1. I compiled from source to upgrade, and I installed PHP 5.2.0 from source. Once I upgraded, eAccelerator complained that I had to recompile it again for it to work on 5.2.1. I did and it gave me the same error. I recompiled maybe 10 times and it has still complained about it. How do I fix this error?

View 2 Replies View Related

EAccelerator Settings

Nov 6, 2007

whether if its a good diea to enable these settings for eAccelerator?

eaccelerator.shm_max
eaccelerator.shm_ttl
eaccelerator.shm_prune_period

There are scripts which are accessed once a day and i guess i shoudl set to prune those scripts which arent accessed for a few hours or so?

View 9 Replies View Related

Module 'eAccelerator' Already Loaded

Oct 28, 2009

how I can get rid of this?

Code:
[28-Oct-2009 16:01:08] PHP Warning: Module 'eAccelerator' already loaded in Unknown on line 0

View 4 Replies View Related

Zend Optimizer & Eaccelerator

Feb 22, 2008

I read on some threads here, that installing Zend Optimizer and Eaccelerator, speeds up the box.

I already installed ZEND optimizer on my box, can someone explain benefit's of Eaccelerator , and how to install it and tweak it for best performance ?

Current Specs -

Quote:

PHP 4.4.8 (cli) (built: Feb 21 2008 01:17:23)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies

View 9 Replies View Related

EAccelerator And Zend Optimizer

Feb 23, 2007

I am using PHP 5.2.1 (recently upgraded), Apache 2.2.4.

Before the upgrade, I had Zend Optimer and eAccelerator installed.

However, after upgrade of Apache and PHP + I had to reboot the server, I went on to reinstall eAccelerator.

Here is what php -v gave me :

=================
eAccelerator requires Zend Engine API version 220051024.
The zend Engine API version 220060519 which is installed, is newer.

contact eAccelerator at http://eaccelerator.net for a later version of eAccelerator.

PHP 5.2.1 (cli) (built: Feb 23 2007 11:36:11)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by zend Technologies
with zend Optimizer v3.2.2, Coopyright (c) 1998-2006, by zend Technologies

=========================

the version of eAccelerator I tried to install is the latest one ( 0.95)

View 4 Replies View Related

Php 5.1 And Eaccelerator - Extra Performance

Feb 19, 2007

I tested eaccelerator with php 5.1.6 but I noticed just a very minor performance improvement. Eaccelerator is known for his incompatiblities, also php 5.1 is a big boy now and no longer need an accelerator.

View 2 Replies View Related

EAccelerator Cache Size

Feb 1, 2007

how big I should set the cache size for eaccelerator?

Here's the information from the control.php

Caching enabled yes
Optimizer enabled yes
Memory usage 100.00% (16.00MB/ 16.00MB)
Free memory 0.00MB
Cached scripts 148
Removed scripts 0
Cached keys 0

View 1 Replies View Related

Zend Opt., IonCube, EAccelerator [all At Once]

Apr 8, 2007

Install IonCube:
==================================

Code:
wget [url]
#### replace below with the version tree you have (I will use 4.4)
cp ioncube_loader_lin_4.4.so /usr/local/lib/php/extensions
Add this line BEFORE any other zend_extension (e.g. Zend Optimizer or eAccelerator).
(#### replace below with the version tree you have (I will use 4.4))

Code:
zend_extension = /usr/local/lib/php/extensions/ioncube_loader_lin_4.4.so
==================================

Install Zend Optimizer:
==================================

Code:
wget [url]
==================================

Install eAccelerator (cPanel):
==================================

Code:
wget [url]
==================================

View 14 Replies View Related

Eaccelerator Cached Scripts

Feb 8, 2007

Using version 0.9.5 with the default settings. The cache fills up the shared memory in less than a day. I noticed the cached script is stuck at 176, what happens after this? Will it cache content to disk in the temporary folder (/tmp/eaccelerator/) when the shared memory is full?

View 0 Replies View Related

Eaccelerator Cache Emptying Cron

Apr 9, 2009

I'm sure all of you who use eaccelerator know how big the cache can get and that it needs emptied manually. Well at least to my knowledge it does, the only thing I have seen that you can configure is the shm pruning. If anyone does know such a feature with eaccelerator please share. But I also notice a performance decrease and a few php errors mostly related to memory allocations here and there.

Anyway I was piddling around and came up with a command to disable eaccelerator from php.ini, delete the cache folder and then enable it back. I figured this would be good as a daily cron. I would like some input if anyone knows any better ways.

So I wanted to share this in case someone else here has the same problems with eaccelerator cache folder getting huge. If anyone knows a way to make this better or shorter please reply with solution.

Of course this will vary depending on where your php.ini is and where your eaccelerator cache is. Just replace those values with yours. I'm sure there is also a way to use similar commands to find and input these values, again if anyone knows please share.

Code:
find /usr/local/lib -name 'php.ini' | xargs perl -pi -e 's/extension="eaccelerator.so"/;extension="eaccelerator.so"/g' ; rm -rf /usr/lib/php/eacc ; mkdir /usr/lib/php/eacc ; chmod 4777 /usr/lib/php/eacc ; find /usr/local/lib -name 'php.ini' | xargs perl -pi -e 's/;extension="eaccelerator.so"/extension="eaccelerator.so"/g'

View 4 Replies View Related

Xcache Or Eaccelerator For Wordpress Site

Oct 15, 2009

I have been trying to figure out which one I should be using for my wordpress site. I have read some discussion but after reading it all I am on the fence. Will Xcache work with cpanel?

The server is running XEN, with cpanel/whm, php5

The server spec is:
3.0Ghz - 8 cpu's
2048MB RAM, and 2048MB SWAP

I have also heard some people using litespeed server, would this be any good?

View 8 Replies View Related

Do I Have To Reinstall Firewalls, EAccelerator, Etc After I Re-build Apache?

Feb 21, 2007

Do I have to reinstall or re-config firewalls (BFD, APF, etc), eAccelerator, etc after I re-built Apache?

View 9 Replies View Related

Eaccelerator Installation Error, Can Not Find Config.m4

Aug 11, 2008

when I enter:

export PHP_PREFIX="/opt/php"
$PHP_PREFIX/bin/phpize

I got the following error message when I@user:

Cannot find config.m4.

Make sure that you run '/opt/php/bin/phpize' in the top level source directory of the module

I checked the above said folder (/opt/php/), there is no file called config.m4. but I found it at php source folder. what should I do to continue?

View 5 Replies View Related

Php4 Extension (eaccelerator) Not Loading Anymore

Mar 7, 2007

Server :
pentium IV 3.0 Ghz
debian 3.1
kernel 2.6
apache2
php4.3.10

Some months ago I installed php4 on this server , and added eaccelerator.net , mostly with this site as guide. Everything worked fine.

Few days ago I realize I hadn't updated this server for a while. I run 'apt-get update' and 'apt-get dist-upgrade' . A whole lot of things get updated, and after that I perform a reboot, as adviced by the update script.

The next day I experiment a bit with the profiler of xdebug . I manage to install it , play around with the results, but decide to uncomment it from php.ini again as it is not that helpfull to me and it makes quiet big log files too.

Today I notice this server is getting very big loads. Normally on peak evenings it would float around 2-4 , with sometime jumps to 10-12 but always quickly recovering and working well. But on this evening it kept rising, stayed around 30-60 for most of the time, and even hit up to 85 . It only lowers when the busy hours are really over. So I look around everywhere , and then after a few hours I notice that eaccelerator is not visible in phpinfo(); anymore. This is the only weird thing I could find, and I assume this caused a big difference on the performance.

I dont know why exactly it went away. Maybe it was the server update, wich touched a lot of files. But I thought it was not supposed to update any configuration files, not without warning at least. I could also have been the xdebug script, wich also uses 'phpize' to install and also required editing in php.ini . I really wish I noticed the lack of eaccelerator after the update but before trying xdebug.

So I try to install eaccelerator again. Unpack from source, phpize, make, etc etc, just as last time. I edit php.ini to make sure the load command and settings of eaccelerator are still there and reload apache. I check phpinfo(); , but nothing changes. I try it all again to be sure, but still nothing. I check the location of the .so files, yes they are still there and the rights of the files look ok.

I edit php.ini again and uncomment 'extension=mysql.so', and reload apache. I notice a mysql error on my site as expected. So that means I'm really editing the right php.ini file and that I can influence the extensions that are loaded. I add the mysql extension again and reload apache.

I load an old php.ini backup file, from right after first installation of this server. The eaccelerator settings are there too already, but if I try it and reload apache : no difference.

I reboot my server again, because .. well sometimes it helps. But not with this. phpinfo(); still says no eaccelerator.

I check another server, exact same specs, same php+eaccelerator installation on the same day as the first one. I compare versions of apache/php/php extensions/zend extensions and all numbers I can find. Everything still looks the same, except server 1 does not have eaccelerator and server 2 still has.

I'm shomehow out of things to check now. I'm pretty sure eaccelerator has a big influence on the performance of my heavy php site, and I want it back. Everything looks ok, the files are there, the settings in php.ini are there, it should work ... but it doesnt. No errors or warnings anywhere, just phpinfo(); saying that eaccelerator has not been loaded and the high loads are confirming this.

It will either be a very complicated solution, or a very simple one, but I'm just looking over it. Does anyone has any tips on where to look or what to try ? Thanks.

View 4 Replies View Related

Enable Zlib Compression If EAccelerator Is Already Installed

Feb 13, 2007

Does it make sense to enable zlib compression if eAccelerator is already installed? I'm running PHP 5.2.1 (FastCGI) with lighttpd 1.4.13 and eAccelerator 0.9.5. Also, here's a more general question. Since I manually compiled these programs, how would I go about updating them with the source files? Would I just repeat the normal installation process with the new source files?

View 2 Replies View Related

Opcode Caches And Segfaults (XCache, EAccelerator)

Dec 8, 2007

Running gallery2 on a box with 4GB RAM. Tried PHP 5.2 w/XCache then with eAccelerator, both caused segmentation faults after a couple days.

"In a previous article, I stressed a common problem with all PHP op-code caches/accelerators: they die with segmentation faults every once in a while."
[url]

Anybody using logwatcher? How many faults per day do you get? If you're using a cache and never get segfaults how busy is your site and how do you prevent them?

View 1 Replies View Related

Windows 2003 Eaccelerator Cache Cleared Randomly

Mar 31, 2008

I have successfully installed eaccelerator on my win2k3 box and it is working great. The problem I am having is that every so often the cache files are mysteriously cleared. I know that the cache is cleared when apache is restarted but I have not restarted it and the files still go missing after a period of time. I have the ttl values for ea set to 0 to disable them.

Here is the ea ini in php.ini:

extension="eaccelerator.dll"
eaccelerator.shm_size="64"
eaccelerator.cache_dir="C:Cache"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="0"
eaccelerator.compress_level="9"
eaccelerator.allowed_admin_path = "D:WebsitesThe Family Garrisoncontrol.php"

I am running php as php-cgi.exe with MS fastcgi enabled on a 32bit system.

View 2 Replies View Related

Installing GD?

Jun 23, 2008

To install the GD graphics library for PHP, is recompiling the only method? And would recompiling PHP break things?

View 12 Replies View Related

Installing RoR. Please!

Feb 27, 2008

just recently upgraded from a fully managed VPS to a Dedicated Server. Everything seemed to be going fine, until I tried installing RoR. I have RubyGems installed and all that, but whenever I try to install Rails, the following happens.

[root@server1 ~]# gem install rails --include-dependencies
Libsafe version 2.0.16
Detected an attempt to write across stack boundary.
Terminating /usr/bin/ruby-bin.
uid=0 euid=0 pid=9614
Call stack:
0x519df871 /lib/libsafe.so.2.0.16
0x519dfc5d /lib/libsafe.so.2.0.16
0x80549b8 /usr/bin/ruby-bin
0x8054a52 /usr/bin/ruby-bin
0x80556af /usr/bin/ruby-bin
0x806132f /usr/bin/ruby-bin
0x8061de6 /usr/bin/ruby-bin
0x809eb06 /usr/bin/ruby-bin
0x8055681 /usr/bin/ruby-bin
0x805de6d /usr/bin/ruby-bin
0x805ea6c /usr/bin/ruby-bin
0x805c5e6 /usr/bin/ruby-bin
0x8059c53 /usr/bin/ruby-bin
0x8064680 /usr/bin/ruby-bin
0x805de6d /usr/bin/ruby-bin
0x805ea6c /usr/bin/ruby-bin
0x805c4df /usr/bin/ruby-bin
0x805d776 /usr/bin/ruby-bin
0x805ae8a /usr/bin/ruby-bin
0x805d2ad /usr/bin/ruby-bin
0x805e66a /usr/bin/ruby-bin
0x805ea6c /usr/bin/ruby-bin
0x805c4df /usr/bin/ruby-bin
0x8062e68 /usr/bin/ruby-bin
0x805b9b2 /usr/bin/ruby-bin
0x805e66a /usr/bin/ruby-bin
0x805ea6c /usr/bin/ruby-bin
0x805c5e6 /usr/bin/ruby-bin
0x805d776 /usr/bin/ruby-bin

Overflow caused by memcpy()
Killed

View 9 Replies View Related

Installing GD Via WHM

Nov 12, 2008

Main >> Software >> Apache Update

I've read through a number of threads regarding installing GD. So sorry for yet another, but I just want to make sure that I'm doing this correctly.

As seen in the attachment below I'm presented with a few options:

Previously Saved Config (** DEFAULT **)
Basic (If your previous build has failed, please use this option)
No PHP
PHP Encryption / E-commerce
PHP Encryption and Image Manipulation
PHP Image Manipulation
PHP Security

Should I start by selecting the option "Previously Saved Config (** DEFAULT **)" and then "Start Customizing Based On Profile"?
I've walked through the steps doing the above and have a question about the last section. Viewing the Exhaustive Options List shows GD as already checked yet towards the bottom I see a checkbox with the following (second attachment below):
Quote:

Save my profile with appropriate PHP 5 options set so that it is compatible with cpphp

This option will make the following changes to your profile prior to the build:
Enables:

CurlSSL
FTP
GD
Gettext
Iconv
Imap
Mbregex
Mbstring
Mysql
Mysql of the system
PGsql
Sockets
Zlib

Should I check to save and then click "Save and Build" to get GD installed?

Some additional information: I have downloaded my default profile. (lol Let's hope I don't have to use it because I wouldn't know where to begin!)

My php.ini file shows that GD is not installed or at least not compiled (if that's the right word to use). To clarify, GD is not in the list.

I have tried yum install pgp-gd and get the following:

root@server [~]# yum install php-gd
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* base: styx.biochem.wfubmc.edu
* updates: mirror.raystedman.net
* addons: dist1.800hosting.com
* extras: mirrors.easynews.com
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Install Process
Parsing package install arguments
No package php-gd available.
Nothing to do
root@server [~]# No package php-gd available.

root@server [~]# rpm -q php-gd
package php-gd is not installed

root@server [~]# php -m
[PHP Modules]
bcmath
calendar
ctype
date
dom
eAccelerator
filter
ftp
hash
iconv
imap
json
libxml
memcache
mysql
pcre
posix
Reflection
session
SimpleXML
sockets
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
zlib
[Zend Modules]
eAccelerator

root@server [~]# yum list | grep -i gd
gd.i386 2.0.33-9.4.el5_1.1 installed
gd-devel.i386 2.0.33-9.4.el5_1.1 installed
gd-progs.i386 2.0.33-9.4.el5_1.1 installed
gdb.i386 6.5-37.el5_2.2 installed
gdbm.i386 1.8.0-26.2.1 installed
gdbm-devel.i386 1.8.0-26.2.1 installed
sysklogd.i386 1.4.1-44.el5 installed
aspell-gd.i386 50:0.50-4.2.2 base
gdk-pixbuf.i386 1:0.22.0-25.el5 base
gdk-pixbuf-devel.i386 1:0.22.0-25.el5 base
gdm.i386 1:2.16.0-46.el5.centos base
libgdiplus.i386 1.2.5-1.el5.centos extras
libgdiplus-devel.i386 1.2.5-1.el5.centos extras
root@server [~]#

View 7 Replies View Related

Installing VPN On FC6

Jan 30, 2008

to install VPN on my dedicated server with fedora core 6.

I search on the internet and I found some article.

now I have this question,
I found the rpm in WHM>Software>Install a RPM named openvpn.i386 .

Can I install this rpm from this section?

View 1 Replies View Related

Installing Php 5 Together With Php 4

Mar 30, 2007

my server running freebsd 6.2

i want to installing PHP 5 so my server can run 2 version of PHP (4 and 5)

im following the step here [url]

installing was successful

[root@s1 /usr/local/apache/logs]# /usr/local/cpanel/cgi-sys/php5 -v
PHP 5.2.1 (cgi) (built: Mar 30 2007 17:07:11)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

but when i try to running phpinfo for it, its show me an error

i grep the error from error.log and got this

[Fri Mar 30 17:42:47 2007] [error] [client 202.65.236.10] Premature end of script headers: /home/uletbulu/public_html/info.php
[Fri Mar 30 17:42:47 2007] [error] [client 202.65.236.10] File does not exist: /home/uletbulu/public_html/500.shtml
[Fri Mar 30 17:44:07 2007] [error] [client 202.65.236.10] Premature end of script headers: /usr/local/cpanel/cgi-sys/php5
[Fri Mar 30 17:44:07 2007] [error] [client 202.65.236.10] File does not exist: /home/uletbulu/public_html/500.shtml

but for php 4 there is no problem at all
or the syntax for php 5 not using phpinfo(); anymore?

[url]
[url]

View 0 Replies View Related

Installing PHP

Jan 25, 2007

I've installed PHP, MySQL and Apache on my XP.

I've uncommented some extensions in php.ini and among them:

extension=php_pdf.dll and extension=php_mysqli.dll, but when I start Apache I got the message:

PHP Startup: Unable to load dynamic library 'c:phpextphp_mysqli.dll' - The specified module could not be found

But I have that module in c:phpextphp_mysqli.dll.

View 5 Replies View Related

Installing Yum

Jun 13, 2007

Anyone have tried yum with suse 10.x ? and what its rpm download link?

View 1 Replies View Related

Installing PHP

Apr 29, 2007

Ive just installed PHP on my virtual server and am getting this error message:

PHP Warning: PHP Startup: (null): Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: (null): Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/dom.so' - /usr/lib/php/modules/dom.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gd.so' - /usr/lib/php/modules/gd.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: ?Mq?gpp?: Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mbstring.so' - /usr/lib/php/modules/mbstring.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - /usr/lib/php/modules/mysql.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: D1q?`?p?: Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/xsl.so' - /usr/lib/php/modules/xsl.so: undefined symbol: dom_node_class_entry in Unknown on line 0

Does anyone have any ideas what this could be/how it could be fixed? Full phpinfo can be found here: jlwalsh.net/phpinfo.php - if theres any other info I can send let me know.

View 2 Replies View Related

Installing Gd

Oct 14, 2007

Trying to install gd library but not able to..

When i do yum install php-gd it says nothing to do..

Kindly help me.. Its a week i am trying to make it work.. Looks like i have searched the whole net..

View 14 Replies View Related

Installing Php

Apr 1, 2007

I have Kevin Yank's book, and have followed the instructions (I thought) absolutely correctly.

most of it seems to be fine, but when I open up the very first page created (the "today.php" project!).. it says "module not found"..

take out the <%php bit... and rename it as an asp file (just to be sure my /localhost settings etc were ok) and it works fine. It's clearly a php install error.. Where do I start looking?

I did search on the forum but failed to find any related thread...

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved