The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
0answers
21 views

Adminer - can't allow for larger file uploads than 2mb

I'm trying to upload my db dump file through adminer, but it is limited to 2MB uploads, even though I went to the php.ini file and chenged it to 35MB. I'm using a vagrant php environment generated by ...
0
votes
0answers
16 views

Can't use sessions in phpdesigner 8 [on hold]

Im getting errors in phpdesigher 8 preview run: session_start(): Cannot send session cookie - headers already sent in... Cannot send session cache limiter - headers already sent in... But it's ok at ...
1
vote
3answers
346 views

how to change path of php ini windows

I've downloaded php, addeded it to my path and im trying to enabled openssl php --ini tells me that configuration file is c:\windows which there was nothing there, I dont want to copy php into ...
1
vote
0answers
15 views

Implications of Increasing Max File Size In php.ini

For example, is there a risk for data corruption that increases as you allow larger file sizes to be uploaded to the server?
1
vote
0answers
255 views

php PDO sqlsrv “could not find driver”

My configuration: - Windows Server 2012 - SQL Server 2012 - Apache 2.4.9 - PHP 5.5.10 My php.ini includes the line - extension=php_pdo_sqlsrv_55_ts.dll My "ext" folder includes the file - ...
0
votes
0answers
92 views

how to get php executable path file of a system remotely?

I want to debug php codes and I am using zend debugger in Eclipse environment and I have a remote server access(ftp). I used PHP_BINDIR to find out about the path file of the php executable file: ...
0
votes
0answers
409 views

Main php.ini file to change file size for phpmyadmin in Centos 6.4 with ISP Config 3 is not working

Hi I'm trying to upload a backup database via phpmyadmin. But the max upload size is 2mb. I changed php.ini file and restarted the apache but it does not work. the ini file that I changed is in ...
0
votes
0answers
158 views

Centos php53-soap installation cannot find package

I am developing on a Centos 6.3 server (it has whcms/cpanel installed) for a client. However, I prefer working on command line. Now, I want to use php soap extension. Php version shown (both using ...
0
votes
0answers
77 views

Create two partial php.ini files

I want to two split php.ini into two files so that I can move important entries to a new file. I think it is a .ini file so, any rule for creating partial .ini files will also apply to it. Is it ...
7
votes
0answers
541 views

Should we still set cgi.fix_pathinfo=0 when configuring nginx+php5-fpm? [closed]

Security breach was found in nginx+php5-fpm default configuration in 2010. A lot of nginx+php5-fpm configuration guides tell us to set cgi.fix_pathinfo=0 to be safe. Is it still actual for current ...
0
votes
3answers
369 views

Turning on “E_ALL” (errors) in php.ini

I've turned on errors in php.ini by removing the ; in front of the comment on line 240 of php.ini (I'm using PHP 5.4.4). I'm using MAMP for my local server to set up a local environment, and I ...
1
vote
1answer
14k views

How do I disable ALL error messages via php.ini?

Despite the following settings below, I often see the path to the file producing the error. How do I turn off ALL errors no matter what? error_reporting = E_ALL display_errors = off log_errors = off ...
1
vote
2answers
1k views

PHP CLI not respecting memory limit in php.ini

I am using drush, which is a command-line php app to manage a drupal website. I am running a command to import a lot of data, which is causing me to hit php's memory limit. PHP Fatal error: Allowed ...
1
vote
1answer
2k views

PHP files are downloaded instead of getting interpreted

I'm encountring some difficulties with my Apache2/PHP5. All was well-configured and working, but after reinstalling apache2, the PHP files are displayed without being interpreted. I tried many ...
0
votes
1answer
1k views

Change php.ini used by commandline

I try to run a script from the command line, a script made by zend framework. I used also the Zend Server who has her own php.ini. When I try to start my script on the command line I am not able to ...
0
votes
0answers
291 views

How do I add a php extension to php.ini file?

I need to add a php extension to a custom php.ini file. The extension is installed locally, not in usr/lib. How do I make php "look for" the extension there?
1
vote
1answer
793 views

Can't add PHP extension “mssql.so”

I want to add mssql.so extension to my PHP. I've already put it in the extension_dir and the line "extension=mssql.so" is in my php.ini. I restarted apache but I can't find the extension in ...
4
votes
2answers
5k views

MediaWiki: increase session timeout

I have a small MediaWiki wiki in a hosted website. It works pretty well, except that I can't find where to configure the session timeout. Right now, my session expires while I'm editing pages. I've ...
0
votes
2answers
2k views

(Ubuntu - Lamp) Why exist in Ubuntu lamp 2 PHP.ini files?

Why exist in Ubuntu lamp 2 PHP.ini files, and what function they doing? /etc/PHP5/cli/PHP.ini /etc/PHP5/apache2/PHP.ini
5
votes
2answers
219 views

is there any way to find out how I was hacked? What was the weak point?

one of my site hacked few times :( first I lost all databases, some tables were cleared and some of table's data had changed! than at the second hack, all tables were cleared and some php files' codes ...
4
votes
3answers
427 views

Securing Apache server against slightly untrusted PHP code?

I have an unusual situation where I need multiple users to be able to upload and execute PHP code on my Apache server, but I cannot allow one user to access another user's PHP source (if concrete ...
2
votes
2answers
1k views

Mac OS X 10.5.8 issue with php.ini file (PHP 5.2.10)

I'm running Leopard 10.5.8 with the Apple-supplied versions of PHP (5.2.10) and Apache (2.2.11). Changes made to the /etc/php.ini file are not taking effect after stop/start of Apache. phpinfo() and ...
0
votes
1answer
7k views

How to enable safe mode for php.ini in Xampp?

I want to put my home server online for private use (using Xammp), so i need to put safe mode on (my OS is Windows XP) So i changed the congif of php.ini in the php folder located in xampp to this: ...