|
Hello! I have a problem with Apache, which restarting, when I want to open PHP code in browser. Code :
require_once 'DB.php'; PEAR::setErrorHandling(PEAR_ERROR_DIE); $db_host = 'localhost'; $db_user = 'root'; $db_pass = 'marylover'; $db_name = 'test';...
Started by Evgeni on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The mysql....
I'm assuming you of PHP being used with Apache is most likely going to be different to what you're using with your IDE (phpDesigner).
Help me, please! Thanks.
PEAR and Apache, but it seems they don't like each other.
|
|
I'm trying to install Laconica , an open-source Microblogging application on my Windows development server using XAMPP as per the instructions provided .
The website cannot find PEAR, and throws the below errors:
Warning: require_once(PEAR.php) [function...
Started by Wild Thing on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Try adding the drive letter:
include_path='.;c:\xampplite\php\pear\PEAR'
also verify that PEAR.php, your PEAR path is c:\xampplite\php\pear\
However, your path is pointing to \xampplite\php\pear\....
|
|
I am setting up an Apache server (2.2.14) on Windows, and borrowing ideas from an existing XAMPP configuration. I am now trying to set up email functionality for PHP (5.3.1). (It needs to be able to handle attachments, just like the XAMPP server can.)...
Started by Nathan Long on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
The MTA will be Sendmail or Postfix almost always further searching and testing, it appears that:
On... .
This is handled completely by PHP and the, in this case, local MTA.
Apache is not really involved in any configuration for sending email.
|
Ask your Facebook Friends
|
XAMPP makes configuring a local LAMP stack for windows a breeze. So it's quite disappointing that enabling htaccess files is such a nightmare.
My problem:
I've got a PHP application that requires apache/php to search for an /includes/ directory contained...
Started by Josh Smeaton on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
apache/conf/http.conf).
|
|
I'm ultimately trying to install PEAR so I can easily install PHPUnit. I want to set up a Mac, Apache, MySQL, PHP, PHPUnit development environment so I can test locally. I already have Apach, MySQL and PHP working. Now all I need is PHPUnit, which means...
Started by Andrew on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
When you install a PEAR module you're downloading all the PHP code needed....
PEAR libraries are (mostly) just PHP code, specially packaged up.
The first is your PHP include path.
Include paths you'll need to worry about.
|
|
Hello all,
I have couple of questions. 1- How can I configure Apache Module for mod_rewrite? Do I have to add something in the httpd.conf file? 2- how can I make sure that GD is complied with PHP? I have already installed php-gd on the server. Thank you...
Started by rewards on
, 9 posts
by 2 people.
Answer Snippets (Read the full thread at linuxquestions):
Since you installed php-gd it should_rewrite? What should I add in the....
To verify, run:
Code: php -i|grep -i GD
Regards Hello,
Can anyone tell me how I can make apache for mod that mod_rewrite is loaded by a LoadModule directive
2.
|
|
Php has PEAR, PERL has CPAN and Java has Appache commons. Short and simple : is there one accepted library for c# extensions/cookbook recipes?
(Feel free to close if exact duplicate, i suspect it somewhat, but don't seem to find it)
Started by Peter on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Codeplex has a number of useful libraries, as does code.google.com etc - but... .
Obviously there is the core framework classes (in all the different version levels), but other than that there is little concensus.. .
No; the codebase is a bit more fragmented.
|
|
EDIT: I decided to just wipe out my apache and php installs and start from scratch. Things are working now, no idea why they weren't before. I've probably set up 30 different LAMP-type servers and never run into this before, I guess I'll just chalk this...
Started by phoebus on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
Engine = On
If you change it, restart Apache:
sudo apache2ctl restart
what is the short.
This line in /etc/php5/apache2/php.ini is set this way:
; Enable the PHP scripting language engine under Apache.
|
|
I’m trying to incorporate text differencing into my code igniter application, so I’m trying to import the PEAR Text_Diff library. However, the Text_Diff constructor requires two arguments, while the Pearloader only allows one.
From PEAR Documentation:...
Answer Snippets (Read the full thread at codeigniter):
Pearloader:
<?php
// Based on PEAR-to-CodeIgniter integration instructions at http://codeigniter.com that supports both nested classpaths and variable arguments:
<?php
// Based on PEAR-to-CodeIgniter' , ini_get ( 'include....
|
|
Has anyone been able to get xinc to run correctly under OpenBSD's chrooted default Apache? I'd like to keep our development server running fully chrooted just like our Production server so that we make sure our code runs just fine chrooted.
Started by dragonmantank on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
PhpUnit and a bunch of other PEAR libs to run, so what I'd propose is this:
pear config-get php_dir under Apache (I'm sure you're aware that the OpenBSD httpd(8) is slightly different) you have) of using apache to access....
|