Search the Community
Showing results for tags 'php.ini'.
Hi everyone, I would like my sessions to time out after 7 days but they only last 30 minutes. I am using php 7. Here is what I have... php.ini - I always keep this file on the server ;register_globals = off ;allow_url_fopen = On ;expose_php = Off ;max_input_time = 60 ;variables_order = "EGPCS" ;extension_dir = ./ ;upload_tmp_dir = /tmp ;precision = 12 ;SMTP = relay-hosting.secureserver.net ;url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset=" ;memory_limit = 51M ;post_max_size = 10M ;file_uploads = On upload_max_filesize = 7M
I have WAMP installed and the goal is to create a script that sends emails. I checked the php.ini file and found no smtp is installed. But how does this work with WAMP? I need a mailserver I assume? Is there a default one in WAMP and how to install it? If not then how can I install a good one? And how to configure it?
Most of the time when I install PHP I get the current directory of the .php file returned from my script. With Zend Server 6 CE DOCUMENT_ROOT seems to be truncating the .php files running directory and is always returning htdocs as the last folder regardless of the fact that my application is actually in /htdocs/samedaycrm/documentroot.php. Is there some way to change the configuration for DOCUMENT_ROOT so that it starts returning the current running directory of the .php file?