PHP is often paired with the MySQL relational database. PHP also includes great database support for PostgreSQL, SQLite, Microsoft SQL Server (API ref), Oracle, IBM DB2 & Cloudscape, Apache Derby and even ODBC. All modern versions of PHP include PDO, a built-in data-access abstraction library ...
0
votes
1answer
15 views
Web Server for SVN+PHP+Django+Rails
Foreword: I am not asking for the differences between Nginx and Apache, nor do I want to start a "which one is better discussion.
I would like to ask for help with choosing the most adequate solution ...
1
vote
1answer
24 views
SSD causing 100% CPU usage in Apache/PHP
I wanted to increase the performance on my development laptop so I added an Intel 320 Series SSD as my primary drive. Everything is amazingly fast, as expected, except Apache/PHP.
I develop Magento ...
0
votes
0answers
5 views
Configuration issue with PHPCSMD plugin in Netbeans
I am using Netbeans for PHP 7.1.2 (latest), on Windows 7 Home Premium 64-bit, with the plugin PHPCSMD to get access to CodeSniffer (I have the PEAR CS package installed in my PHP directory).
The ...
0
votes
1answer
15 views
Issue with PHP and osx 10.7 - runs via command line but not in browser
I recently removed MAMP as I wanted to have more control over my machine and wanted to make use of PHP5.4 I installed using the script located here I cannot now not even get my default PHP that is ...
1
vote
0answers
32 views
Upgrading php - Errors were encountered
Running debian 4.0
Trying to
$ apt-get install php5
I get
Reading package lists... Done
Building dependency tree... Done
php5 is already the newest version.
0 upgraded, 0 newly installed, 0 to ...
-1
votes
1answer
48 views
Creating a webserver from scratch [closed]
I know this is going to sound a humongous task and many of you would think why in the world would you want to do so or why re-invent the wheel. However I just want a project I can work on the side see ...
0
votes
3answers
27 views
What are the correct permissions on Mac to run PHP?
I enabled apache2 and PHP 5.3 on my Mac Mini and have setup a virtual host. However when I browse to http://{MyVirtiualHost}/Index.php I get the error
You don't have permission to access /Index.php ...
0
votes
0answers
14 views
Handling databases (without copying) when using multiple versions of XAMPP
I have just installed version 1.7.7 of Xampp in C:/Xampp1.7.7 folder. The older version exists at C:/Xampp Both these versions have different versions of PHP, MySQL, Apache...
So to test a site I ...
1
vote
1answer
30 views
Markdown “single page” PHP web application with live preview? [closed]
I would like to know if there is a PHP web application, such that
When called with something like http://example.com/index.php?inputfile=mymarkdownfile.txt; it will open the file mymarkdownfile.txt ...
0
votes
0answers
12 views
POST data send and change URL to the same [migrated]
I have a URL shortening service, Which I have made in PHP. It receives the URL to shorten via POST method via the form on the main page. I want to create a Bookmarklet for this service.
It should be ...
2
votes
2answers
20 views
Is there a way to file the cause (or target file) of disk write operations in linux (RHEL6.1)?
I have a virtual machine with a php based application (in apache) on it, when looking at disk activity there is a constant 170kbps write when apache is running.
When we apply load then the ...
2
votes
0answers
42 views
Running PHP script in html page [migrated]
I didn't notice this question on the site already and I am having a hard time with it.
I simply want to run a php script at the top of a html page that will check for the existence of a cookie, ...
2
votes
2answers
38 views
Looking for PHP memory/CPU graph generator
Basically, that's what I'm looking for. I want an app that makes a live graph of the server's CPU and RAM usage. Is there anything like this?
0
votes
1answer
75 views
Give permissions to www-data user to run a local script
I actually try to launch a gnome-terminal with a PHP script, and seems I have some problems with the users www-data;
My script only makes an ls -l command in a directory (is just for a test) and I ...
0
votes
1answer
26 views
Bitnami Stack copying via SSH
Hello Wonder if anybody can help. I'm new to SSH & linux, and going through setting up a server.
I'm picking up bits and bobs of bash ok, and remembered someone suggested using bitnami stack for ...
3
votes
3answers
78 views
PHP code is returned instead of executed
I have L-Ubuntu 11.04. I've installed Apache2 and I'm trying to simulate a server on my local file system by navigating to localhost in the browser.
The problem is that I can't seem to get php to ...
1
vote
1answer
49 views
How can I design a Custom gateway for wifi
I once logged-in to my router (192.168.1.1) and noticed that alot of my neighbors are connected to it, probably more than 16 different IPs/MAC adresses are stored in my DHCP logs.
After I have setup ...
0
votes
1answer
28 views
apache file requests and parsing
I have just run into an interesting situation at work that shot to hell my understanding of how apache2 executes php files.
I was under the impression that apache2 would determine the correct file ...
0
votes
1answer
106 views
PHP 5.4.3 RPM and steps of installation?
Can someone please point me a PHP 5.4.3 RPM that includes mysql and PDO ?
I appreciate if someone can guide me or give me link to step by step installation of rpm.
I have redhat linux.
(gcc version ...
-3
votes
0answers
10 views
XAMPP LAMPP installation error and unistalling [closed]
today i installed xampp from their website and just downloaded and extracted on my linux os (using tar xvfz) command and i started it using /lampp start.
everything started perfectly and i wanted it ...
0
votes
0answers
26 views
Does a JS/PHP script exist for converting ASCII to LaTeX?
Does a JS/PHP script exist for converting ASCII to LaTeX?
I need the users on my webpage to be able to write in ASCII, while my server does all the calculating of the math in the LaTeX format. ...
1
vote
1answer
95 views
“php: command not found” after changing PHP system files in OS X
I wanted to install Symfony on Mac OS X Lion. Apparently, as MAMP was already installed on my computer, there was a problem with the "timezone" field in the php.ini file. I can't remember exactly the ...
0
votes
1answer
280 views
Steps to install PHP 5.4.3 from rpm and yum?
I got a link saying following steps of installation of PHP 5.4.3.
rpm -Uvh http://repo.webtatic.com/yum/el6/latest.rpm
yum install php54w
Can i use above method safely?
Or any other rpm that i ...
0
votes
0answers
27 views
VirtualBox host OS fake IP for apache
I have apache installed on the guest machine. But in many scripts I have following condition:
if (!in_array(@$_SERVER['REMOTE_ADDR'], array(
'127.0.0.1',
'::1',
))) {
header('HTTP/1.0 403 ...
0
votes
1answer
36 views
How to Create Subdomains with CakePHP?
Does anyone know how to create a subdomain with cakephp? For example:
www.domain.com/subdomainname like this without any additional characters attached to the subdomainname.
0
votes
0answers
23 views
Allow PHP to perform a Git Pull in Mac OS X
I've been trying to develop a simple php script that will perform a git pull, however I've been running into a problem.
My code is very simple:
chdir($directory);
$output = shell_exec('git pull');
...
3
votes
2answers
54 views
Execute PHP files in mounted directory from VirtualBox host system is not working
I've set up a VirtualBox with a Debian 6.0 to act as a webserver. The host machine is my PowerBook running OS X 10.7.3.
Under /User/cb0/Sites I have a webproject in symfony that I used to develop ...
0
votes
0answers
26 views
Why is my Php Script Not Wroking Now? [closed]
I want to get ip Details. On StalkOverflow, i came up with this
http://stackoverflow.com/questions/855967/how-do-i-retrieve-the-visitors-isp-through-php
But this Php Code is no longer working on my ...
0
votes
1answer
66 views
Apache and PHP with cURL
I am running Sun server with Solaris 10/SPARC.
I had/have Apache 1.37 with PHP 5.2.1 running as a dynamic extension, and want to enable cURL support. I have tried to re-compile PHP with the ...
0
votes
1answer
19 views
What's the minimum requirement to run xdebug developement?
I've a very inexpensive virtual server but I get regular stuck in my developement with xdebug and Typo3 websites. Currently I'm running sshd, ftp, xdebug, mysql, postfix on my server and it's only for ...
0
votes
1answer
228 views
ZIP support not found: SugarCRM needs ZIP support in order to process compressed files
Ok, trying to install SugarCRM and I seem to be failing horribly.
Everything is uploaded.
Folders have write privlages (777 currently for the moment)
PHP Memory limit is at 256M
extension:php_zip.dll ...
0
votes
0answers
44 views
PHP 5.4 after-install: preg_match(): Compilation failed: unknown option bit(s) set at offset 0
I recently upgraded my PHP to version 5.4.1 on my Lion OS X 64bit, I'm getting an error thrown in Codeigniter:
Severity: Warning
Message: preg_match(): Compilation failed: unknown option bit(s) set ...
-1
votes
2answers
70 views
Best AMP bundle for Windows (WAMPs)? [closed]
There's a list of WAMPs here:
http://en.wikipedia.org/wiki/Comparison_of_WAMPs
Which one is the best for PHP app development?
Do you know which one has the most complete set of PHP extensions?
1
vote
1answer
145 views
Upgrade php from 5.2 to 5.3 on lenny
I (among other things) manage an older debian Lenny server - and now have a need to update PHP from version 5.2 to 5.3 (we currently have 5.2.26 installed). This is required to support some of the ...
0
votes
1answer
181 views
Autocomplete user defined function/variable names in Coda
Is it possible natively, or is there a plugin, that will use Coda's autocomplete function for user defined methods and variables?
0
votes
1answer
77 views
How does Thunderbird Send Email?
Well, the title might be a bit misleading, but I couldn't find a better way to describe my question.
I tried to set up my machine to send email via the php mail() function. It turns out I can't. My ...
0
votes
1answer
79 views
VIM: Highlight += with a background
I have been coding in PHP lately, which is weakly typed so integers are added with += but strings are concatenated with .=. That means that I wind up using += where I shouldn't and PHP actually then ...
0
votes
1answer
166 views
php build error: /usr/bin/ld: cannot find -lltdl
I am not a build guru and could use a pointer. I'm trying to make php5 on linux. I have successfully run config. I run make and get the following error:
/bin/sh libtool --silent ...
0
votes
0answers
31 views
PHP on Linux: Where to start? [closed]
I've been coding PHP for just a little over a year now and I want to switch to a Linux Operating System. I specifically want to install Ubuntu on my Mac hardware. I've searched the internet and could ...
0
votes
0answers
16 views
Looking for open source outsourcing platform
I am looking for open source web platforms for outsourcing, similar to Elance, Guru and oDesk. Preferably in PHP, but can also be in other languages, like Ruby.
1
vote
1answer
231 views
Configuring PHP on Windows 7 with Apache Web Server
I already have an Apache server (2.2.22) up and running on my local machine, and have been using it to serve back static content. I am now trying to install PHP (5.2+) so I can get Apache serving ...
1
vote
0answers
225 views
cannt run phpunit tests on bash ubuntu 11.10
I'm working with Ubuntu 11.10 as root on my local machine, I've installed xampp 1.7.7 and
While following a tutorial on sitepoint on how to install pear to use PhpUnit, I didn't notice it then, but ...
0
votes
1answer
121 views
How to convert .flv to .m4v files through FFmpeg
I want to convert FLV files to M4V files. What is the exec (PHP) Linux code for this conversion?
0
votes
0answers
108 views
MagickWand no longer working after PHP update, OS X Lion
I'm running OS X Lion using the pre installed version of Apache and PHP. PHP has recently updated from 5.3.6 to 5.3.8 (I assume though an automatic software update) and since this update MagickWand ...
0
votes
0answers
207 views
How can I enable readline for PHP 5.4 on Ubuntu 11.10?
I installed PHP 5.4 on my Ubuntu 11.10 PC like this:
$ sudo add-apt-repository ppa:ondrej/php5
$ sudo apt-get update
$ sudo apt-get install php5
It's working fine but I don't have the readline ...
0
votes
1answer
2k views
CentOS 5.8 Server, manual install PHP 5.2.17
I would like manually install PHP 5.2.17.
I manage to install httpd and mysql.
But when I want to PHP 5.2.17, I could not found a proper guide.
These the step I had done with a fresh installation of ...
0
votes
1answer
26 views
PHP Input Output is stuck? [closed]
<?php
mysql_connect("localhost", "root", "pass") or
die("Could not connect: " . mysql_error());
mysql_select_db("smcs");
$result = mysql_query("SELECT * FROM others");
$row = ...
0
votes
1answer
118 views
Installing php_apc.dll on wampserver
I need your help. I'm trying to install php_apc.dll into my
php directory.
So far this is what i've done:
I copied php_apc.dll to c:\wamp\bin\php\php5.3.0\ext. I've also restarted the server ...
0
votes
1answer
67 views
How to make CSS and other fonts show on default Chrome Printing
I'm printing a page of my PHP application with the ( ctrl + P ) (default printing). How can i make sure that the CSS (tables, padding, cellspacing, background picture with opacity) are printed along ...
1
vote
1answer
245 views
How to hide URL Path in PHP Print Out
I'm printing a page of my PHP application with the ( ctrl + P ), at the base of the printout, the url path is shown..i.e
http://
localhost:8080/student/result.php how can i hide this or customize it.
...