I installed phpMyAdmin 4.0.4.1 on my local develop enviroment, I set auth_type to config. Also I provide authentication requirements by this settings: But after a while that it is idle, if I click on any link of it , it shows me an error token mismatch, Is there any way that I increase its TTL? or make it alive permanently?
Tag: apache
netbeans shows “Waiting For Connection (netbeans-xdebug)”
need help to configure xdebug, for debugging projects from IDE netbeans. These are the features of my components: XAMPP 1.8.2 PHP: 5.4.16 netbeans: 7.3.1 Apache: 2.4.4 (Win32) this is the …
set_time_limit() has been disabled for security reasons
I need to set set_time_limit(0); in my PHP script but I get Warning: set_time_limit() has been disabled for security reasons I already tried increasing max_execution_time property in my php.ini with no effect. I’m running WAMP 2.4 with Apache 2.4.4 and PHP 5.4.12. EDIT: I’m running it on my localhost, not shared hosting Answer OK looks like I was just stupid…
“no acceptable variant” from MultiViews in Apache
In one deployment of a PHP-based application, Apache’s MultiViews option is being used to hide the .php extension of a request dispatcher script. E.g. a request to …would be handled by …with the trailing part of the request URI available in PATH_INFO. Most of the time this works fine, but occasionally results in errors like My question is: What triggers
OpenSSL not working on Windows, errors 0x02001003 0x2006D080 0x0E064002
Problem: OpenSSL is not working in my Windows environment. OpenSSL repeatedly reports errors 0x02001003, 0x2006D080 and 0x0E064002. Environment: What I’ve Attempted: Installation Instructions http://www.php.net/manual/en/openssl.installation.php PHP.ini extension=php_openssl.dll Openssl.cnf E:wampphpextrasopenssl.cnf %PATH% E:wampphp Rebooted phpinfo: —-OpenSSL support enabled —-OpenSSL Library Version OpenSSL 1.0.1e 11 Feb 2013 —-OpenSSL Header Version OpenSSL 0.9.8y 5 Feb 2013 With and without specifying config in configargs With and
Apache shows PHP code instead of executing it
I have recently been trying to install PHP and Apache on my computer. After many hours, they’re installed. I have modified the httpd.conf and php.ini files like everyone says. I then created a simple PHP script: But when I try to run it with http://127.0.0.1/phpinfo.php it just shows the source code instead of executing it. I am using Apache 2,
move_uploaded_file not working on Apache server in Linux Mint
So I am trying to do a basic upload via an HTML form and a simple php script, but the move_uploaded_file function always returns false. I have run “chmod 777” on the directory (I will deal with safety more when I actually get this to work) and the “upload” directory is in the htdocs folder (actually /var/www in Ubuntu Server
PHP: move_uploaded_file() failed to open stream: No such file or directory
I’m trying to get PHP to move an uploaded file from the tmp directory to somewhere permanent on my webserver. It seems simple enough, but I’m getting this error: Unable to move ‘C:UniServertmpphp3F62.tmp’ to ‘static/images/slides/1/1.jpg’ Pretty straight-forward, right? It can’t find the destination folder. My question is: How do I reference the desired target directory? Is the reference relative to
Install fileinfo php extension
As the fileinfo is moved from PECL to PHP. What is the best way to install it through WHM or putty.? I tried following command: and received following error: WARNING: “pear/Fileinfo” is deprecated in favor of “channel://php-src/ext/fileinfo/in php sources “WARNING: channel “pear.php.net” has updated its protocols, use “pecl channel-update pear.php.net” to update downloading Fileinfo-1.0.4.tgz … Starting to download Fileinfo-1.0.4.tgz (5,835
Insert space after semi-colon, unless it’s part of an HTML entity
I’m trying to insert a space after each semi-colon, unless the semi-colon is part of an HTML entity. The examples here are short, but my strings can be quite long, with several semi-colons (or none). I found the following regular expression that does the trick for short strings: However, if the string is somewhat large, the preg_replace above actually crashes