php.ini location

Thanks! That is the correct place indeed. I just didn't have any php.ini file initallay.

Now added :

post_max_size = 10M
memory_limit = 20M

This takes care of my webmail memory allocation problem! Now nutsmail works!
 
Is this normal what i see in the php ini file?

Code:
[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

Thats all?
 
My Php.ini file shows maximum upload file size at 1029MB, but I got a 10MB limit when trying files upload from DirectAdmin panel:
"Upload Files to /domains/cosmosurf.net/public_html/flash/modules/video/files Max Filesize : 10.0 MB". Can anyone help me correct that?
Thank you
 
Hi guys,
I can't find php.ini Unfortunetlly I don't see usr folder anywhere. Can you help me?

Regards,

Sorry for my English.
 
Are you admin/root user on a server or simple user? Do you have SSH access?

To find php.ini file used you should either run in a shell:

Code:
php --ini

or check output of a script:

PHP:
<?php
phpinfo();

in a browser.
 
I'm a novice web designer and I'm trying to turn on register_globals and I've tried what knowledge and what little I could find on the web for it...

Can someone please tell me how to turn ON register_globals for PHP?
 
Last edited:
This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.

http://php.net/manual/en/security.globals.php
 
Back
Top