Enable Phpinfo()
Mar 27, 2007i give following error so how can i enable phpinfo()
Code:
warning : phpinfo() has been disabled for security reasons
i give following error so how can i enable phpinfo()
Code:
warning : phpinfo() has been disabled for security reasons
when some one upload and load files with phpinfo()
he can see our server PHP Configuration.
how can us disable phpinfo()?
How do I set this Environment variable "SERVER_ADMIN" that I am seeing on phpinfo()?
View 1 Replies View RelatedHaving this problem on chroot'ed sites in Ensim.
This is what I have in my php.conf:
Code:
[root@ns1 conf.d]# cat /etc/httpd/conf.d/php.conf
#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#
LoadModule php5_module modules/libphp5.so
SetOutputFilter PHP
SetInputFilter PHP
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
This prevents file.php.gif from executing in a non-chrooted site, but in my chrooted sites, file.php.gif will execute as a PHP file. Any idea why? Some other config I have to change?
cat /proc/version
Linux version 2.6.23.15-80.fc7 (gcc version 4.1.2 20070925 (Red Hat 4.1.2-27)) #1 SMP Sun Feb 10 17:29:10 EST 2008
I installed Zend Optimizer (this is NOT a cpanel box to clarify)
1. Downloaded ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz
2. cd's into that directory
3. ./install.sh
No errors
[root@host ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
However, ZO does not show up in php info
php -v
PHP 5.2.4 (cli) (built: Sep 18 2007 08:50:58)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
php -m
[Zend Modules]
eAccelerator
File: /usr/local/Zend/etc/php.ini
[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
zend_optimizer.version=3.3.3
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
Code:
[root@host lib]# ls -lh
total 32K
drwxr-xr-x 9 root root 4.0K 2008-03-28 20:27 Optimizer-3.3.3
drwxr-xr-x 7 root root 4.0K 2008-03-28 20:27 Optimizer_TS-3.3.3
-rwxr-xr-x 1 root root 11K 2008-03-31 16:21 ZendExtensionManager.so
-rwxr-xr-x 1 root root 11K 2008-03-31 16:21 ZendExtensionManager_TS.so
anyone have a cpanel server running centos 64bit or fedora ? i would appreciate a phpinfo. then you can remove it afterwards i need to debug something in 2 of my servers.
View 3 Replies View RelatedThe issue starts after I reboot the server for another issue.
And then zend optimizer not show in phpinfo.
I have checked php -m and php -v,both normal.
[root@linux ~]# php -v
PHP 4.3.9 (cgi) (built: Sep 12 2007 11:09:31)
Copyright (c) 1997-2004 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.0, Copyright (c) 1998-2007, by Zend Technologies
[root@linux ~]# php -m
[PHP Modules]
bcmath
bz2
calendar
ctype
curl
dba
dbx
dio
domxml
exif
ftp
gd
gettext
gmp
iconv
imap
ldap
mbstring
mime_magic
mysql
openssl
overload
pcntl
pcre
posix
pspell
session
shmop
sockets
standard
sysvsem
sysvshm
tokenizer
wddx
xml
yp
Zend Optimizer
zlib
[Zend Modules]
Zend Extension Manager
Zend Optimizer
But phpinfo page only show
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
I am headache and try to reinstall Zend many times and reboot the server many times but not work.
in my php.ini I have:
memory_limit = 32M
but when I load a phpinfo() page, the setting is displayed nowhere.
Is there a reason for this ? I fear the setting is not taken in consideration by the server because of this.
I find that lots of hosts don't put the link to a phpinfo() script on their websites, even though that would save everyone a lot of unnecessary questions.
So I figure we should have a thread where people can add links to phpinfo scripts on their own hosts, or hosts where they happen to have the URL of a phpinfo script.
For those of you who own your own web hosting services, here's a chance to show off all your installed goodness, and all it takes is placing a simple link here (and put one in your FAQ section on your web site too, for the love of God)..
Since the forum doesn't allow editing your own posts (I still think that is nuts), please include all previous links in your post, so visitors will only need to read the LAST post to find all the updated links in one place.
I have recently upgraded MySQL to 5.25
However, when I run phpinfo, I see the following:
mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 4.1.21
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient
mysqli
MysqlI Support enabled
Client API library version 4.1.21
Client API header version 4.1.20
MYSQLI_SOCKET /var/lib/mysql/mysql.sock
There are always people who would like to know what the php settings are on the server. Is it a security risk to share the phpinfo.php file on a website, with anybody who visits that website, able to view it?
View 4 Replies View RelatedI want to enable mbstring. I googled and found --enable-mbstring is the key to turning it on but I don't know where to put this. In the php.ini?
View 14 Replies View Relatedi got hosting with cPanel Control panel i have some problem with this hosting because its "register_globals" disabled , i need to enable the "register_globals" on my hosting ,
View 10 Replies View RelatedI would like to ask whether should we use/enable the clamAV service on our VPS? I have read from several article, it said that ClamAV is pretty hungry on CPU/Memory resources.
I would like to know, do you use/enable the clamAV on your VPS? Or even don't have it installed on your VPS?
I have a VPS server, i installed and configure csf, but wonder if i reboot my server the csf would close the connection, or wont work...
so i remmeber how but i really forget and cannot remmber how to enable the csf on the vps start up..
how to enable innodb
use this command in mysql ....
My becky email client don't work with SSL 3.0 (POP3s).
by the way, when use SSL 2.0, it still can't verify certificate. I install StartCOM Free SSL successfully with every services (vps.domain.com)
[url]
How do I enable pdo_mysql on my cpanel server? Can I do it somewhere in WHM or do I need to go to command line?
View 7 Replies View Relatedi have a dedicated server with php4 and i have one client that needs to have gettext module enabled..
how can i enable it?
I have a VPS and I need to enable mod_rewrite.
Here is my PHP Info: [url]
I read a tutorial but I just don't get it. I would appreciate if you could help me out.
I need it for my Wordpress blog.
i use a script that needs fsockopen and curl to work. also i installed curl, but couldn't enable fsockopen. how i can do that? i'm using centos, php5, cpanel etc etc..
i looked php.ini, disable_functions is empty..
i disabled the .htaccess files when i installed the modsecurity with the following command
/usr/local/apache/bin/apxs -D DISABLE_HTACCESS_CONFIG -cia mod_security.c
now how can i recompile the modsecurity with .htaccess enabled?
how can i enable iconv (using .htaccess too)
View 3 Replies View RelatedAnyone know how to properly enable/compile SOAP service on a centos 4.5 / cpanel box?
View 2 Replies View RelatedMy site is running with php scripts It's work fire at bluehost but get some error when i move to new VPS .
Quote:
Warning: fputs(): supplied argument is not a valid stream resource in /home/xxx/public_html/home/admin/update_categories.php on line 171
Warning: fclose(): supplied argument is not a valid stream resource in /home/xxx/public_html/home/admin/update_categories.php on line 173
Warning: fputs(): supplied argument is not a valid stream resource in /home/xxx/public_html/home/admin/update_categories.php on line 225
Warning: fclose(): supplied argument is not a valid stream resource in /home/xxx/public_html/home/admin/update_categories.php on line 227
I want to enable these functions fopen(),fputs(),fclose(),fputs(),fclose() but i don't know how to enable them .Could you tell me details
I moved my website from one server to another just today and my site has a rank on another website. The ranking site lets me display my rank on my website through a hotlink to their site. When I moved my site to the new server, I can't see the image. On the old server, I could always see the image.
This is a strange issue since in Firefox, I see the image load and then it tells me the image is empty. But when I open the image's URL, I can see it just fine. I've reloaded the page over and over again, but I don't get anything. The same applies to IE.
What's even more strange is when I use a proxy, I can see the image just fine through my browser.
Hi Htaccess not working in my server how Enable htaccess on Apache ?
View 14 Replies View RelatedHow do I enable shell_exec in an .htaccess file for one particular account, even thought it is disabled globally in php.ini ?
I am using php 4.4.6 / cpanel / centos
Also, what would the .htaccess look like for php5x?
When I use mencoder,my computer shows both sse and sse2 are supported but disabled. How to enable them? Can anyone give me the command line on how to convert rmvb files to flv and other formats?
View 1 Replies View Relatedi have installed Plesk in my VPS, Created Domain and tried to upload my files , All Ok but when upload .htaccess file , it disaper's .. i use filzilla ftp and there opition to force see hidden file , when do that , the file shows up .. but how to disable it from been hidden each time i upload it
View 1 Replies View Relatedis it good or not and why we should enable or disable it in cpanel server or other server?
View 11 Replies View Related